package com.javajun.endofterm.entity;

import com.javajun.endofterm.common.CommonEntity;

import javax.persistence.Entity;
import javax.persistence.Lob;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author: Xiong Limin
 * Date: 2020-12-07-2:04 上午
 */
@Entity
public class Menu extends CommonEntity<Integer> {
    @Lob
    private String json;

    private String name;

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "json='" + json + '\'' +
                '}';
    }
}
